package edu.uoc.tds.pec4.mantenimiento.controller;

public class ComboItem {
    private String value;
    private String label;
    private int index;

    public ComboItem(String value, String label, int index) {
        this.value = value;
        this.label = label;
        this.index = index;
    }

    public String getValue() {
        return this.value;
    }

    public String getLabel() {
        return this.label;
    }
    
    public int getIndex() {
        return this.index;
    }    

    @Override
    public String toString() {
        return label;
    }
}
